Function processing apparatus and function processing method dynamically process network function using commands

ABSTRACT

There are provided a function processing apparatus and function processing method dynamically process network function using commands. A function processing apparatus includes a communication unit for performing communication with at least one user interface and at least one software component, and a controller for, if first command related information is received from the at least one software component, forming a command tree on the basis of the first command related information and transmitting the first command related information to the at least one user interface, and, if second command related information is received from at least one user interface, transmitting the second command related information to a software component corresponding to the second command related information.

CROSS-REFERENCE TO RELATED APPLICATION

The present application claims priority to Korean patent applicationnumber 10-2015-0154508 filed on Nov. 4, 2015 the entire disclosure ofwhich is incorporated herein in its entirety by reference.

BACKGROUND

1. Field

An aspect of the present disclosure relates to a function processingapparatus and function processing method dynamically process networkfunction using commands.

2. Description of the Related Art

In a general command processing mechanism, a command is determined at apoint of time when software and hardware components receiving thecommand are compiled. Therefore, there is an inconvenience that, if acommand is to be added or changed in the operation of a service, thecorresponding service should be temporarily stopped.

SUMMARY

Embodiments provide a function processing apparatus and functionprocessing method dynamically process network function using commands,in which a command can be dynamically added/deleted/changed withoutstopping a service during the operation of the service.

Embodiments provide a function processing apparatus and functionprocessing method dynamically process network function using commands,in which, when a command is added/deleted/changed, only a component inwhich the command is added/deleted/changed can be re-started withoutstopping the entire service.

According to an aspect of the present disclosure, there is provided afunction processing apparatus including: a communication unit configuredto perform communication with at least one user interface and at leastone software component; and a controller configured to, if first commandrelated information is received from the at least one softwarecomponent, form a command tree on the basis of the first command relatedinformation and transmit the first command related information to the atleast one user interface, and, if second command related information isreceived from at least one user interface, transmit the second commandrelated information to a software component corresponding to the secondcommand related information.

According to an aspect of the present disclosure, there is provided afunction processing method including: a registration process of, iffirst command related information is received from at least one softwarecomponent, forming a command tree on the basis of the first commandrelated information and transmitting the first command relatedinformation to at least one user interface; and an execution process of,if second command related information is received from the at least oneuser interface, transmitting the second command related information to asoftware component corresponding to the second command relatedinformation.

BRIEF DESCRIPTION OF THE DRAWINGS

Example embodiments will now be described more fully hereinafter withreference to the accompanying drawings; however, they may be embodied indifferent forms and should not be construed as limited to theembodiments set forth herein. Rather, these embodiments are provided sothat this disclosure will be thorough and complete, and will fullyconvey the scope of the example embodiments to those skilled in the art.

In the drawing figures, dimensions may be exaggerated for clarity ofillustration. It will be understood that when an element is referred toas being “between” two elements, it can be the only element between thetwo elements, or one or more intervening elements may also be present.Like reference numerals refer to like elements throughout.

FIG. 1 is a diagram illustrating a structure of a system in which afunction processing apparatus is operated according to the presentdisclosure.

FIG. 2 is a flowchart illustrating a registration process in a functionprocessing method according to the present disclosure.

FIG. 3 is a flowchart illustrating an execution process in the functionprocessing method according to the present disclosure.

FIG. 4 is a flowchart illustrating the function processing methodaccording to the present disclosure.

FIG. 5 is a diagram illustrating a command system.

FIG. 6 is a diagram illustrating a basic configuration of a command treeaccording to the present disclosure.

FIG. 7 is a diagram illustrating an example of the command tree.

FIG. 8 is a diagram illustrating a configuration of a node command nodein the command tree according to the present disclosure.

FIG. 9 is a diagram illustrating a configuration of a general commandnode in the command tree according to the present disclosure.

FIG. 10 is a diagram illustrating a registration method of a nodecommand processing function according to an embodiment of the presentdisclosure.

DETAILED DESCRIPTION

The present disclosure now will be described more fully hereinafter withreference to the accompanying drawings, in which embodiments of thepresent disclosure are shown. The present disclosure should not beconstrued as limited to the embodiments set forth herein. Rather, theseembodiments are provided so that this disclosure will be thorough andcomplete, and will fully convey the scope of the present disclosure tothose skilled in the art.

It will be further understood that the terms “includes” and/or“including”, when used in this specification, specify the presence ofstated features, integers, steps, operations, elements, and/orcomponents, but do not preclude the presence and/or addition of one ormore other features, integers, steps, operations, elements, components,and/or groups thereof.

As used herein, the singular forms are intended to include the pluralforms as well, unless the context clearly indicates otherwise.

Hereinafter, exemplary embodiments of the present disclosure will bedescribed in detail with reference to the accompanying drawings.

FIG. 1 is a diagram illustrating a structure of a system in which afunction processing apparatus is operated according to the presentdisclosure.

Referring to FIG. 1, the system to which the present disclosure isapplied includes at least one user interface 100-1, 100-2, . . . ,100-n, a function processing apparatus 200, and at least one softwarecomponent 300-1, 300-2, . . . , 300-n.

The at least one user interface 100-1, 100-2, . . . , 100-n is acomponent that receives a command input from a system operator. Invarious embodiments, 100-1, 100-2, . . . , 100-n may be cluster managershell interfaces (CMSHs). Hereinafter, a case where the at least oneuser interface 100-1, 100-2, . . . , 100-n is a CMSH will described asan example, but the present disclosure may be applied systems usingvarious user interfaces without departing from the spirit and scope ofthe present disclosure.

In various embodiments, the at least one user interface 100-1, 100-2, .. . , 100-n is connected to the function processing apparatus 200 in aninitialization stage, to receive command related information on the atleast one software component 300-1, 300-2, . . . , 300-n through thefunction processing apparatus 200, thereby form a command tree. In thiscase, the at least one user interface 100-1, 100-2, . . . , 100-nmay beconnected to the function processing apparatus 200 through TCP, UDP, RawIP, Unix domain socket, etc. The command tree may include a softwarecomponent identifier (ID), a command ID, a help string, etc., whichcorrespond to a corresponding command. This will be described in detailbelow.

In various embodiments, if a command is input from a system operator,the at least one user interface 100-1, 100-2, . . . , 100-n may transmitcommand related information corresponding to the input command to thefunction processing apparatus 200, using a command tree, to allow thecommand to be executed in a corresponding software component.

The function processing apparatus 200 manages the at least one userinterface 100-1, 100-2, . . . , 100-n and the at least one softwarecomponent 300-1, 300-2, . . . , 300-n. In various embodiments, thefunction processing apparatus 200 may be called as a command manager.

The function processing apparatus 200 includes a communication unit fortransmitting/receiving data to/from the at least one user interface100-1, 100-2, . . . , 100-n and the at least one software component300-1, 300-2, . . . , 300-n, and a controller for controlling operationsof the function processing apparatus 200. Hereinafter, variousoperations of the controller will be described.

In various embodiments, the function processing apparatus 200 mayreceive command related information from the respective at least onesoftware component 300-1, 300-2, . . . , 300-n, thereby forming acommand tree. Also, the function processing apparatus 200 may transmitthe received command related information to the at least one userinterface 100-1, 100-2, . . . , 100-n, so that each of the at least oneuser interface 100-1, 100-2, . . . , 100-n can form its own commandtree.

In this case, the function processing apparatus 200 may change a mode ofthe at least one user interface 100-1, 100-2, . . . , 100-n. In variousembodiments, the at least one user interface 100-1, 100-2, . . . , 100-nmay be operated, according to rights, in a view mode in which afundamental system general status can be checked, a config mode in whicha command can be executed, or an enable mode in which a system operationstatus can be checked in a state in which the execution of a command isstopped. The function processing apparatus 200 may transmit commandrelated information to the at least one user interface 100-1, 100-2, . .. , 100-n such that the mode of a user interface being operated in theconfig mode among the at least one user interface 100-1, 100-2, . . . ,100-n is changed to the enable mode so as to prevent a command frombeing executed while the at least one user interface 100-1, 100-2, . . ., 100-n are forming a command tree.

In various embodiments, if command related information is received fromthe at least one user interface 100-1, 100-2, . . . , 100-n, thefunction processing apparatus 200 may transmit the received commandrelated information to a software component corresponding to thereceived command related information. The function processing apparatus200 functions to simply forward the received command related informationto the corresponding software component.

The at least one software component 300-1, 300-2, . . . , 300-n maps acommand that it can execute and a function corresponding to thecorresponding command, and execute the command. To this end, the atleast one software component 300-1, 300-2, . . . , 300-n may include atleast one command mapper 301-1, 301-2, . . . , 301-n.

In various embodiments, the at least one software component 300-1,300-2, . . . , 300-n may assigns an identifier (ID) to a command throughthe at least one command mapper 301-1, 301-2, . . . , 301-n, and map afunction corresponding to the command, thereby forming mappinginformation. The at least one software component 300-1, 300-2, . . . ,300-n transmits, to the function processing apparatus 200, commandrelated information on the command mapped to the function, so that thefunction processing apparatus 200 and the at least one user interface100-1, 100-2, . . . , 100-n connected thereto can form a command tree.

In various embodiments, if command related information is received fromthe command processing apparatus 200 through the at least one commandmapper 301-1, 301-2, . . . , 301-n, the at least one software component300-1, 300-2, . . . , 300-n may determine a command corresponding to thecommand related information, using mapping information, and execute afunction corresponding to the determined command. Specifically, the atleast one software component 300-1, 300-2, . . . , 300-nmay determine amapped function by searching a command ID included in command relatedinformation from mapping information, and execute the determinedfunction.

Hereinafter, a function processing method of the function processingapparatus 200 according to the present disclosure will be described indetail.

The function processing method according to the present disclosure mayinclude a ‘registration process’ in which the function apparatus 200forms its own command tree using command related information receivedfrom the at least one software component 300-1, 300-2, . . . , 300-n,and transmits the command related information to the at least one userinterface 100-1, 100-2, . . . , 100-n, so that the respective userinterfaces form a command tree, and an ‘execution process’ in which thefunction apparatus 200 transmits the command related informationreceived from the at least one user interface 100-1, 100-2, . . . ,100-n to a corresponding software component, so that a command isexecuted.

FIG. 2 is a flowchart illustrating the registration process in thefunction processing method according to the present disclosure.

Referring to FIG. 2, the function processing apparatus 200 according tothe present disclosure receives a connection request from a softwarecomponent 300 (21). The function processing apparatus 200 may receivethe connection request that the software component 300 transmits so asto be connected to the function processing apparatus 200.

The function processing apparatus 200 may assign an identifier to thesoftware component 300 in response to the received connection request(22). Here, the identifier is used to identify the software component300. The identifier may be used to, when a specific command is executedby a user interface 100, identify the software component 300 capable ofexecuting the corresponding command.

If the software component 300 is connected to the function processingapparatus 200, the software component 300 maps a command and a functioncorresponding to the command (23). The software component 300 assigns acommand identifier to the command through a command mapper 301, and mapsa function corresponding to the command in a pointer format, therebyforming mapping information between the command identifier and thecorresponding function.

The mapping information may be configured as shown in the followingTable 1.

TABLE 1 Command ID #1 Command ID #2 . . . Function pointer Functionpointer . . . Other parameters Other parameters . . .

After that, the software component 300 transmits the command identifierand the mapping information to the function processing apparatus 200,thereby registering command related information (24). The softwarecomponent 300 may transmit, to the function processing apparatus 200,information required to form a command tree of the function processingapparatus 200, in addition to the command identifier and the mappinginformation.

The function processing apparatus 200 forms a command tree using theinformation received from the software component 300 (25). When there isa previously formed command tree, the function processing apparatus 200may update the command tree.

Also, the function processing apparatus 200 may transmit the receivedinformation to the user interface 100 such that the user interface 100can form a command tree. At this time, the function processing apparatus200 is to be previously connected to the user interface 100 in responseto a connection request of the user interface 100.

The user interface 100 may be operated in a config mode for executing acommand. In order to prevent a command from being executed by the userinterface 100 being operated in the config mode during the registrationprocess, the function processing apparatus 200 may change the mode ofthe user interface 100 being operated in the config mode to an enablemode (26). After that, the function processing apparatus 200 maytransmit, to the user interface 100, the information received from thesoftware component 300 or command related information generated based onits own command tree (27). In this case, the command related informationmay include a command identifier and mapping information. Alternatively,the command related information is information required for the userinterface 100 to form a command tree, and may further include a softwarecomponent identifier, a help string, etc. with respect to thecorresponding command.

The user interface 100 forms a command tree using the informationreceived from the function processing apparatus 200 (28). When there isa previously formed command tree, the user interface 100 may update thecommand tree.

When command registration is completed, the software component 300 maytransmit a connection release request to the function processingapparatus 200 (29).

If the connection release request is received from the softwarecomponent 300, the function processing apparatus 200 may release theconnection to the software component 300 and form a command treeaccording to the release of the connection to the corresponding softwarecomponent 300 (25′). In an embodiment, the command tree according to therelease of the connection may be formed by deleting, from the commandtree, command related information of a command executable in thecorresponding software component 300.

Also, the function processing apparatus 200 transmits, to the userinterface, the command related information according to the release ofthe connection to the software component 300 (26′), so that the userinterface 100 can form the command tree according to the release of theconnection to the corresponding software component 300 (27′).

Additionally, the function processing apparatus 200 may change the modeof the user interface 100 being operated in the enable mode to theconfig mode so as to form a command tree.

FIG. 3 is a flowchart illustrating the execution process in the functionprocessing method according to the present disclosure. The executionprocess according to FIG. 3 is performed in a state in which, after acommand tree is formed through the registration process according toFIG. 2, the user interface 100 and the software component 300 areconnected to the function processing apparatus 200. In the executionprocess according to FIG. 3, the user interface 100 may be operated inthe config mode.

Referring to FIG. 3, if a command is input from a system operator (31),the user interface 100 determines command related informationcorresponding to the input command, using a command tree (32). The userinterface 100 may search a command tree for each token of a command,thereby determining command related information corresponding to thecommand, e.g., a software component identifier, a command identifier,etc., corresponding to the input command.

The user interface 100 transmits the determined command relatedinformation to the function processing apparatus 200 (33). The functionprocessing apparatus 200 receiving the command related informationtransmits the command related information to a software component 300corresponding to the software component identifier included in thecommand related information (34).

Here, the transmitted command related information may be node commandrelated information 602 (or general command related information 603)described with reference to FIG. 6. Hereinafter, the command relatedinformation is dynamically configured to be transmitted as describedwith reference to FIGS. 8 to 10, and its detailed description will bedescribed with reference to FIGS. 8 to 10.

In order to determine the software component 300 corresponding to thesoftware component identifier included in the command relatedinformation, the function processing apparatus 200 may use a previouslyconfigured node or may previously store separate mapping informationbetween the command identifier and the software component identifier.The mapping information between the command identifier and the softwarecomponent identifier may be configured as shown in the following Table2. In Table 2, CMSH refers to a user interface of FIG. 1.

TABLE 2 Sender Command identifier Software component CMSH #1 Command ID#1 Component #1 CMSH #2 Command ID #2 Component #2 . . . . . . . . .

The software component 300 receiving the command related informationdetermines a function mapped to the command identifier included in thecommand related information, using previously stored command identifiersand mapping information thereof (35).

After that, the software component 300 calls the determined function,thereby executing the command (36).

In the above-described function processing method of FIGS. 2 and 3,operations of the software component 300 may be performed by the commandmapper 301, and the subject of the operations is not limited as long asit is included in the software component 300 or is a componentcorresponding to the software component 300.

FIG. 4 is a flowchart illustrating the function processing methodaccording to the present disclosure.

Referring to FIG. 4, the function processing apparatus 200 according tothe present disclosure may be first operated in a standby mode (41). Thefunction processing apparatus 200 in the standby mode may be connectedto the user interface 100 and the software component 300.

In an embodiment, if a connection request is received from the softwarecomponent 300, the function processing apparatus 200 may assign asoftware component identifier to the software component 300.

If command related information is received from the software component300 in the standby mode (42), the function processing apparatus 200forms a command tree on the basis of the received command relatedinformation (43). The command related information received from thesoftware component 300 may include, for example, a software componentidentifier, a command identifier, mapping information with a functioncorresponding to a command, etc. The command tree may include softwarecomponent identifiers, command identifiers, mapping information withfunctions corresponding to commands, help strings, etc. with respect tothe respective commands.

Next, the function processing apparatus 200 determines whether the userinterface 100 connected to the function processing apparatus 200 isoperated in a config mode (44), and changes the mode of the userinterface 100 operated in the config mode to an enable mode (45).

After that, the function processing apparatus 200 transmits the receivedcommand related information to the user interface 100, so that the userinterface 100 can form a command tree. In an embodiment, the functionprocessing apparatus 200 may generate command related information on thebasis of its own command tree and transmit the generated command relatedinformation to the user interface 100. The command related informationtransmitted from the function processing apparatus 200 to the userinterface 100 may include, for example, a software component identifier,a command identifier, mapping information with a function correspondingto a command, a help string, etc.

In an embodiment, if command related information is received from theuser interface 100 (47), the function processing apparatus 200 transmitsthe command related information to a software component 300corresponding to a software component identifier included in the commandrelated information (48).

After that, the function processing apparatus 200 returns to the standbymode to repeatedly perform the above-described operations until it isdetermined that the system has been ended (49).

Hereinafter, a detailed structure of a command tree formed by thefunction processing apparatus 200 will be described.

FIG. 5 is a diagram illustrating a command system.

In various embodiments, the system may support, according to rights, aview mode in which a fundamental system general status can be checked, aconfig mode in which a command can be executed, or an enable mode inwhich a system operation status can be checked in a state in which theexecution of a command is stopped.

Accordingly, the command system includes commands to be used by the userinterface 100 in the respective modes. Referring to FIG. 5, each modeforms one upper node 501 in a command tree. For example, the commandtree may include a view node, a config node, and an enable node.

Each upper node 501 may include a node command 502 that enables acommand to enter into a mode corresponding to the corresponding uppernode 501 and a general command 503 that enables a command to enter intothe corresponding mode and to be executed. The node command 502 mayinclude “mode name”+“terminal.”

The commands are grouped for each node 501 in the command tree, based ona mode in which a corresponding command is executable. That is, acommand executable in the config mode is added as a lower node of theconfig node.

In an embodiment, when a command “ping” is to be executed in the configmode, a system operator may input the node command 502 called as “configterminal” to enter into the config mode, and input the general command503 called as “ping” to enable the corresponding command to be executed.

Hereinafter, a structure of a command tree formed based on theabove-described command system will be described in detail.

FIG. 6 is a diagram illustrating a basic configuration of a command treeaccording to the present disclosure.

Referring to FIG. 6, the command tree includes a node command node 602under a root node 601 and a general command node 603 added as a lowernode of the node command node 602. The node command node 602 and thegeneral command node 603 may be disposed within the command tree in anorder of tokens constituting a command received from the softwarecomponent 300.

The node command node 602 and the general command node 603 includecommand related information on a node command a general command,respectively. The command related information on the node command mayinclude a node command grammar, an output format of a prompt output inthe entry into a corresponding node, a node identifier, a help string,etc. The command related information on the general command may includea node identifier, an upper node related parameter (e.g., an upper nodeidentifier), a general command grammar, a command identifier, softwarecomponent information, e.g., a software component identifier (owner)corresponding to a command, mapping information, a help string, etc.

An example of the command tree configured as described above isillustrated in FIG. 7.

In an embodiment, when commands executed in the software component 300are [A B C D], [A B E], and [A C F], the command tree may be configuredas shown in FIG. 7.

Specifically, the command tree may be configured to sequentially includegeneral command nodes 703, 704, 705, and 706 respectively correspondingto tokens A, B, C, and D under a node command node 702, corresponding tothe command [A B C D]. Also, the command tree may be configured tosequentially include general command node 703, 704, and 707 respectivelycorresponding to tokens A, B, and E under the node command node 702,corresponding to the command [A B E]. Also, the command tree may beconfigured to sequentially include general command nodes 703, 708, and709 respectively corresponding to tokens A, C, and F under the nodecommand node 702, corresponding to the command [A C F].

According to the command tree, a command executable next to an arbitrarynode command (token) is previously set according to the command tree.Therefore, a help string may include information on a general commandexecutable next to the corresponding general command, and the userinterface 100 (or the function processing apparatus 200) helps a systemmanager to determine an executable general command by outputting thehelp string to the system manager. For example, when the general commandB is input, the user interface 100 may output help strings 710 and 711of the commands C and E of the general command nodes 705 and 707disposed as lower nodes of the general command node 704. If there is nogeneral command disposed in the lower nodes of the general command node704, the user interface 100 determines an output value as ‘0,’ and maynot complete command search. A command identifier may include a commandidentifier of a general command of which performance has been finallycompleted.

FIG. 8 is a diagram illustrating a configuration of the node commandnode in the command tree according to the present disclosure.

In various embodiments, the node command node 602 may be configured inthe function processing apparatus 200. When a command tree is formedbased on command related information received from the softwarecomponent 300, it is to be previously recognized in which mode a commandis executed, i.e., in which node the command is to be disposed. Hence,the node command node 602 is previously configured in the functionprocessing apparatus 200.

A node command definition 801 constituting the node command node 602 mayinclude macros including all information for forming command relatedinformation on the node command 502. The macro is changed into theformat of a function 802 that can be called as shown in FIG. 8, totransmit a parameter together with a command. Here, the parameter mayinclude upper node information and a current command parameter.

FIG. 9 is a diagram illustrating a configuration of the general commandnode in the command tree according to the present disclosure.

A general command definition 901 constituting the general command node603 may be defined in the software component 300 to receive a generalcommand. The command tree may be formed based on the general commanddefinition 901. Therefore, the command tree may include a commandidentifier and mapping information, based on the general commanddefinition 901.

A registered command is changed into the format of a callable function902 that can be called by a macro. The command mapper 301 may storemapping information 903 including a command identifier and a functionpointer corresponding thereto.

FIG. 10 is a diagram illustrating a registration method of a nodecommand processing function according to an embodiment of the presentdisclosure.

In an embodiment, it is assumed that a node command “interface[interface_name]” and a general command “ip address” are set in a confignode. Specifically, if it is assumed that a general command called as“ip address A. B. C. D” is disposed as a lower general command in a nodecommand called as “interface eth0,” there may occur a case where any oneof the software components 300 is to process only the general command“ip address A. B. C. D” and another of the software components 300 is tosimultaneously process the general command “ip address A. B. C. D” andthe node command “interface eth0.”

In order to solve this, since the node command is defined in thefunction processing apparatus 200, each software component 300 mayregister, in advance, a function 1002 to be performed when the nodecommand is called. In this case, the function processing apparatus 200transmits a command identifier to the software component 300 in theentry into a corresponding node, and enables the stored function 1002 tobe called based on the transmitted command identifier. The commandmapper 301 included in the software component 300 may simultaneouslystore a command identifier and mapping information.

In the function processing apparatus and the function processing method,a command can be dynamically added/deleted/changed in the system duringthe operation of a service, thereby ensuring the continuity of theservice.

In the function processing apparatus and the function processing method,even when the software component dynamically added to a hardware device,the function of the added software component can be processed throughdynamic command processing.

Example embodiments have been disclosed herein, and although specificterms are employed, they are used and are to be interpreted in a genericand descriptive sense only and not for purpose of limitation. In someinstances, as would be apparent to one of ordinary skill in the art asof the filing of the present application, features, characteristics,and/or elements described in connection with a particular embodiment maybe used singly or in combination with features, characteristics, and/orelements described in connection with other embodiments unless otherwisespecifically indicated. Accordingly, it will be understood by those ofskill in the art that various changes in form and details may be madewithout departing from the spirit and scope of the present disclosure asset forth in the following claims.

What is claimed is:
 1. A function processing method comprising: aregistration process of, if first command related information isreceived from at least one software component, forming a command tree onthe basis of the first command related information and transmitting thefirst command related information to at least one user interface; and anexecution process of, if second command related information is receivedfrom the at least one user interface, transmitting the second commandrelated information to a software component corresponding to the secondcommand related information, wherein the registration process includes:changing, to a command execution stop mode, the mode of a user interfacebeing operated in a command execution mode among the at least one userinterface; and transmitting the first command related information to theat least one user, and wherein commands are grouped for each node in thecommand tree, based on a mode including the command execution stop modeand the command execution mode in which a corresponding command isexecutable.
 2. The function processing method of claim 1, wherein thefirst command related information includes information on a commandidentifier assigned to a command by the at least one software componentand mapping information on a function mapped to the command identifier.3. The function processing method of claim 1, wherein the second commandrelated information includes a command identifier and a softwarecomponent identifier corresponding to the command identifier.
 4. Thefunction processing method of claim 1, wherein the execution processincludes: if second command related information is received from the atleast one user interface, determining a software component identifiercorresponding to the second command related information on the basis ofthe command tree; and transmitting the second command relatedinformation to a software component corresponding to the softwarecomponent identifier.
 5. The function processing method of claim 1,wherein the command tree includes a plurality of node command nodes anda plurality of general command nodes added as lower nodes of theplurality of node command nodes.
 6. The function processing method ofclaim 5, wherein the plurality of node command nodes include commandrelated information on a node command including at least one of a nodecommand grammar, a prompt output format, a node identifier, and a helpstring, and the plurality of general command node include commandrelated information on a general command including at least one of anode identifier, an upper node related parameter, a general commandgrammar, a command identifier, software component informationcorresponding to the command identifier, mapping information on afunction mapped to the command identifier, and a help string.
 7. Thefunction processing method of claim 5, wherein the plurality of nodecommand nodes include a node command definition that changes a macroincluding the command related information on the node command into theformat of a callable function.
 8. The function processing method ofclaim 5, wherein the plurality of general command nodes include ageneral command definition that changes a macro including the commandrelated information on the general command and the mapping informationinto the format of a callable function.